home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
cdity
/
ModeProSrc.lha
/
Prefs
/
New
/
RemovedCode
< prev
next >
Wrap
Text File
|
1997-04-05
|
9KB
|
206 lines
/*
struct NewGadget nglist[] =
{
LST_X ,LST_Y , 196, 12, (UBYTE *)MSG_G_PLIST , NULL, GD_TYPE , NG_FITLABEL|PLACETEXT_LEFT , NULL, NULL,
LST_X ,LST_Y+154, 178, 12, NULL , NULL, GD_NAME , 0 , NULL, NULL,
LST_X ,LST_Y+167, 98, 12, (UBYTE *)MSG_G_NEW , NULL, GD_NEW , PLACETEXT_IN , NULL, NULL,
LST_X ,LST_Y+13 , 178,153, NULL , NULL, GD_LIST , 0 , NULL, NULL,
LST_X+98 ,LST_Y+167, 98, 12, (UBYTE *)MSG_G_REMOVE , NULL, GD_REMOVE , PLACETEXT_IN , NULL, NULL,
LST_X+178 ,LST_Y+13 , 18,153, NULL , NULL, GD_MOVE , PLACETEXT_ABOVE , NULL, NULL,
LST_X ,LST_Y+180, 196, 12, (UBYTE *)MSG_G_SELECT_NAME , NULL, GD_SELECT_NAME , PLACETEXT_IN , NULL, NULL,
SCR_X ,SCR_Y , 234, 12, (UBYTE *)MSG_G_PROMOTION , NULL, GD_MODESEL , NG_FITLABEL | PLACETEXT_LEFT , NULL, NULL,
SCR_X ,SCR_Y+13 , 234, 12, (UBYTE *)MSG_G_SELECT_SCREEN_MODE , NULL, GD_SELMODE , PLACETEXT_IN , NULL, NULL,
SCR_X ,30 , 234, 12, NULL , NULL, GD_SCREENMODE , PLACETEXT_ABOVE , NULL, NULL,
SCR_X ,56 , 110, 12, (UBYTE *)MSG_G_WIDTH , NULL, GD_WIDTH, NG_FITLABEL|PLACETEXT_LEFT, NULL, NULL,
SCR_X+116 ,56 , 118, 12, (UBYTE *)MSG_G_HEIGHT , NULL, GD_HEIGHT, NG_FITLABEL|PLACETEXT_LEFT, NULL, NULL,
SCR_X ,43 , 234, 12, (UBYTE *)MSG_G_OVERSCAN , NULL, GD_OVERSCAN, NG_FITLABEL|PLACETEXT_LEFT, NULL, NULL,
SCR_X ,SCR_Y+66 , 26, 12, (UBYTE *)MSG_G_COLORS , NULL, GD_DODEPTH, PLACETEXT_RIGHT, NULL,NULL,
SCR_X+163 ,SCR_Y+66 , 71, 12, (UBYTE *)MSG_G_COLOR_SLIDER , NULL, GD_DEPTH, NG_FITLABEL|PLACETEXT_RIGHT, NULL,NULL,
SCR_X ,SCR_Y+79 , 26, 12, (UBYTE *)MSG_G_PALETTE , NULL, GD_PALETTE ,PLACETEXT_RIGHT,NULL,NULL,
SCR_X+116 ,SCR_Y+79 , 117, 12, (UBYTE *)MSG_G_EDIT_PALETTE , NULL, GD_EDITPALETTE ,PLACETEXT_IN,NULL,NULL,
OPT_X ,OPT_Y+26 , 26, 12, (UBYTE *)MSG_G_FORCE_PLANAR , NULL, GD_FORCE_PLANAR ,PLACETEXT_RIGHT,NULL,NULL,
OPT_X ,OPT_Y , 26, 12, (UBYTE *)MSG_G_AUTOSCROLL , NULL, GD_AUTOSCROLL ,PLACETEXT_RIGHT, NULL, NULL,
OPT_X ,OPT_Y+13 , 234, 12, (UBYTE *)MSG_G_CENTER , NULL, GD_CENTER ,PLACETEXT_LEFT | NG_FITLABEL ,NULL,NULL,
OPT_X2 ,OPT_Y , 26, 12, (UBYTE *)MSG_G_INTERLEAVE , NULL, GD_INTERLEAVE ,PLACETEXT_RIGHT,NULL,NULL,
TDL_X ,TDL_Y , 26, 12, (UBYTE *)MSG_G_3D_LOOK , NULL, GD_LOOK3D, PLACETEXT_RIGHT, NULL, NULL,
TDL_X ,TDL_Y+13 , 171, 12, (UBYTE *)MSG_G_3D_RESET , NULL, GD_RESETPENS,PLACETEXT_IN,NULL,NULL,
TDL_X ,TDL_Y+26 , 171, 59, NULL , NULL, GD_PENLIST, PLACETEXT_ABOVE, NULL, NULL,
TDL_X+116 ,TDL_Y+86, 55, 12, NULL , NULL, GD_PENVAL,0,NULL,NULL,
FNT_X ,FNT_Y+13 , 234, 12,(UBYTE *)MSG_G_FONT_SELECT , NULL, GD_PICKFONT ,NULL ,NULL,NULL,
FNT_X ,FNT_Y , 234, 12,(UBYTE *)MSG_G_FONT , NULL, GD_SFONT ,NG_FITLABEL|PLACETEXT_LEFT ,NULL,NULL,
FNT_X ,FNT_Y+39 , 26, 12,(UBYTE *)MSG_G_FONT_FIX_ASPECT , NULL, GD_FASPECT ,PLACETEXT_RIGHT,NULL,NULL,
SHR_X ,SHR_Y , 26, 12,(UBYTE *)MSG_G_SHARE_PENS , NULL, GD_SHAREPENS, PLACETEXT_RIGHT ,NULL,NULL,
SHR_X ,SHR_Y+14 , 171, 12,(UBYTE *)MSG_G_SP_EXCLUDE , NULL, GD_LOCKEDPENS,NG_FITLABEL|PLACETEXT_LEFT, NULL,NULL,
PUB_X ,PUB_Y , 26, 12,(UBYTE *)MSG_G_MAKE_PUBLIC , NULL, GD_PUBOPT,PLACETEXT_RIGHT,NULL,NULL,
PUB_X ,PUB_Y+13 , 171, 12,(UBYTE *)MSG_G_PUB_NAME , NULL, GD_PUBNAME, NG_FITLABEL|PLACETEXT_LEFT ,NULL,NULL,
HK_X ,HK_Y , 26, 12,(UBYTE *)MSG_G_DO_HOTKEY , NULL, GD_HOTKEYOPT,PLACETEXT_RIGHT,NULL,NULL,
HK_X ,HK_Y+13 , 171, 12,(UBYTE *)MSG_G_HOTKEY , NULL, GD_HOTKEYSTR,NG_FITLABEL|PLACETEXT_LEFT ,NULL,NULL,
SUC_X ,SUC_Y , 87, 12,(UBYTE *)MSG_G_SAVE , NULL, GD_SAVE ,PLACETEXT_IN,NULL,NULL,
SUC_X+269 ,SUC_Y , 87, 12,(UBYTE *)MSG_G_USE , NULL, GD_USE ,PLACETEXT_IN,NULL,NULL,
SUC_X+532 ,SUC_Y , 87, 12,(UBYTE *)MSG_G_CANCEL , NULL, GD_CANCEL ,PLACETEXT_IN,NULL,NULL
};
ULONG gtags[] =
{
// type
GT_Underscore,'_',GTCY_Labels ,&ListLabels[0], TAG_DONE,
// name
GT_Underscore,'_',GTIN_EditHook, &StrCursorHook,GTST_MaxChars, 256, TAG_DONE,
// new
GT_Underscore,'_',TAG_DONE,
// list
GT_Underscore,'_',GTLV_ShowSelected, GD_NAME, GTLV_ScrollWidth, 18,LAYOUTA_Spacing,1, TAG_DONE,
// remove
GT_Underscore,'_',TAG_DONE,
//move
GT_Underscore,'_',PGA_Freedom, LORIENT_VERT, GTSL_Min, 0, GTSL_Max, 0, GTSL_Level, 0, TAG_DONE,
//select
GT_Underscore,'_',TAG_DONE,
// modesel
GT_Underscore,'_',GTCY_Labels, &ModeSelLabels[0], TAG_DONE,
// selmode
GT_Underscore,'_',TAG_DONE,
//screenmode
GT_Underscore,'_',GTTX_Border, TRUE, TAG_DONE,
//width
GT_Underscore,'_',GTIN_MaxChars, 10, TAG_DONE,
//height
GT_Underscore,'_',GTIN_MaxChars, 10, TAG_DONE,
//overscan
GT_Underscore,'_',GTCY_Labels, &OverscanLabels[0], TAG_DONE,
//dodepth
GT_Underscore,'_',GTCB_Scaled, TRUE,TAG_DONE,
//depth
GT_Underscore,'_',PGA_Freedom, LORIENT_HORIZ,GTSL_Min,1,GTSL_Max,8,/* GTSL_MaxLevelLen,8,GTSL_LevelFormat,"%ld",
GTSL_LevelPlace,PLACETEXT_LEFT, GTSL_DispFunc, ColorsHook, GTSL_Justification, GTJ_LEFT,
GTSL_MaxPixelLen, 32,*/ TAG_DONE,
//Set Palette Menus
GT_Underscore,'_',GTCB_Scaled, TRUE, TAG_DONE,
//Edit Palette
GT_Underscore,'_',TAG_DONE,
//Force Planes
GT_Underscore,'_',GTCB_Scaled, TRUE, TAG_DONE,
// autoscroll
GT_Underscore,'_',GTCB_Scaled, TRUE, TAG_DONE,
//center
GT_Underscore,'_',GTCY_Labels, &CenterLabels[0], TAG_DONE,
//interleave
GT_Underscore,'_',GTCB_Scaled, TRUE, TAG_DONE,
// 3d
GT_Underscore,'_',GTCB_Scaled, TRUE, TAG_DONE,
//resetpens
GT_Underscore,'_',TAG_DONE,
//penlist
GT_Underscore,'_',GTLV_CallBack,&PenLVHook, GTLV_ScrollWidth, 18, TAG_DONE,
//penval
GT_Underscore,'_',GTIN_EditHook, &StrCursorHook,TAG_DONE,
//penname
// /*GTTX_Text, &PenNameGad[0],*/ GTTX_Border, TRUE, /*GTTX_Justification, GTJ_RIGHT,*/ GTTX_Clipped, TRUE, TAG_DONE,
//font name
// GTTX_Border,TRUE, TAG_DONE,
//font size
// GTNM_Border,TRUE, TAG_DONE,
//pick font
GT_Underscore,'_',TAG_DONE,
//sfont
GT_Underscore,'_',GTCY_Labels, &SFontLabels[0],TAG_DONE,
//faspect
GT_Underscore,'_',GTCB_Scaled, TRUE,TAG_DONE,
//sharepens
GT_Underscore,'_',GTCB_Scaled, TRUE,TAG_DONE,
//lockedpens
GT_Underscore,'_',GTST_EditHook, &StrHook,GTST_MaxChars, 256,TAG_DONE,
//pub opts
GT_Underscore,'_',GTCB_Scaled, TRUE,TAG_DONE,
//pub name
GT_Underscore,'_',GTST_MaxChars, MAXPUBSCREENNAME+1,TAG_DONE,
//hotkey cb
GT_Underscore,'_',GTCB_Scaled, TRUE,TAG_DONE,
//hotkey name
GT_Underscore,'_',TAG_DONE,
//Save
GT_Underscore,'_',TAG_DONE,
//Use
GT_Underscore,'_',TAG_DONE,
//Cancel
GT_Underscore,'_',TAG_DONE,
};
ULONG gtype[] = {
// List
CYCLE_KIND, // type
STRING_KIND, // name
BUTTON_KIND, // new
LISTVIEW_KIND,// list
BUTTON_KIND, // remove
SLIDER_KIND, // move
BUTTON_KIND, // select
// Screen Mode
CYCLE_KIND, // modesel
BUTTON_KIND, // selmode
TEXT_KIND, // screenmode
INTEGER_KIND, // width
INTEGER_KIND, // height
CYCLE_KIND, // overscan
CHECKBOX_KIND,// dodepth
SLIDER_KIND, // depth
CHECKBOX_KIND,// palette
BUTTON_KIND, // edit palette
CHECKBOX_KIND,// force planar
// Options
CHECKBOX_KIND,// autoscroll
CYCLE_KIND,// center
CHECKBOX_KIND,// interleave
// 3d look
CHECKBOX_KIND,// 3d
BUTTON_KIND, // resetpens
LISTVIEW_KIND,// penlist
INTEGER_KIND, // penval
// TEXT_KIND, // penname
// Font
// TEXT_KIND, // font name
// NUMBER_KIND, // font size
BUTTON_KIND, // pick font
CYCLE_KIND, // sfont
CHECKBOX_KIND,// faspect
// shared pens
CHECKBOX_KIND,// sharepens
STRING_KIND, // locked
// Pub
CHECKBOX_KIND,// pub opts
STRING_KIND, // pub name
// hotkey
CHECKBOX_KIND,// hotkey on/off
STRING_KIND, // hotkey
BUTTON_KIND, // Save
BUTTON_KIND, // Use
BUTTON_KIND // Cancel
};
*/